package com.als.healthymananger.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author aion
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色类型名称
     */
    @TableId(value = "name", type = IdType.INPUT)
    @Schema(description = "角色类型", allowableValues = {"mananger", "master", "member"})
    private String name;

    /**
     * 是否启用
     */
    private String enable;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


}
